package com.lyw.gulimall.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lyw.common.utils.PageUtils;
import com.lyw.gulimall.product.entity.SkuInfoEntity;
import com.lyw.gulimall.product.entity.SpuInfoDescEntity;
import com.lyw.gulimall.product.entity.SpuInfoEntity;
import com.lyw.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author liyawei
 * @email liyawei@gmail.com
 * @date 2022-05-31 11:06:15
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    IPage<Map<String, Object>> queryPageByCondition(Integer page, Integer limit, String sidx, String order, String key, Long catelogId, Long brandId, String status);

    void up(Long spuId);
}

